//
//  WSQViewProtocol.h
//  WSQOCTools
//
//  Created by 翁胜琼 on 2018/8/28.
//  Copyright © 2018年 Dev John. All rights reserved.
//

@class WSQViewModel;
#import <Foundation/Foundation.h>

@protocol WSQViewProtocol <NSObject>

@optional

/**
 使用 viewmodel 创建视图

 @param viewModel 绑定模型
 
 @return 返回对象
 */
- (instancetype)initWithViewModel:(__kindof WSQViewModel *)viewModel;
- (instancetype)initWithframe:(CGRect)frame viewModel:(__kindof WSQViewModel *)viewModel;

/**
 绑定模型
 */
- (void)bindViewModel;


/**
 设置view
 */
- (void)setupUI;

@end
